# coding: utf-8
import pandas as pd
import numpy as np
log = pd.read_csv('../../dataset/log_train.csv')
userfea = pd.DataFrame()
usernames = set()
log.username.map(lambda x: usernames.add(x))
userfea[
'username'] = list(usernames)
userfea.set_index('username')
userfea
userfea = userfea.set_index('username')
userfea.drop('username', axis=0)
userfea
